﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace DTO
{
    public class CKHACHHANG
    {
        private String _hoTen;

        public String HoTen
        {
            get { return _hoTen; }
            set { _hoTen = value; }
        }
        private int _maKH;

        public int MaKH
        {
            get { return _maKH; }
            set { _maKH = value; }
        }
        private int _tuoi;

        public int Tuoi
        {
            get { return _tuoi; }
            set { _tuoi = value; }
        }
        private String _diaChi;

        public String DiaChi
        {
            get { return _diaChi; }
            set { _diaChi = value; }
        }
        private String _cMND;

        public String CMND
        {
            get { return _cMND; }
            set { _cMND = value; }
        }

        // ham khoi tao
        public CKHACHHANG()
        {
            this.Tuoi = 0;
            this.MaKH = 0;
        }
        public CKHACHHANG(String HoTenKH,int MaKhachHang,int TuoiKH,String DiaChiKH,String CMNDKH)
        {
            this.HoTen = HoTenKH;
            this.MaKH = MaKhachHang;
            this.Tuoi = TuoiKH;
            this.DiaChi = DiaChiKH;
            this.CMND = CMNDKH;
        }

        
    }
}
